import type { RouteRecordRaw } from 'vue-router'

import Layout from '@/layouts/index.vue'

export default [
  {
    path: '/sys',
    name: 'sys',
    redirect: '/sys/user',
    component: Layout,
    meta: { title: { zh_CN: '系统管理', en_US: 'System' }, icon: 'system-setting', orderNo: 4 },
    children: [
      {
        path: 'user',
        name: 'SysUser',
        meta: { title: { zh_CN: '用户管理', en_US: 'User' } },
        component: () => import('@/pages/system/user/index.vue'),
      },

    ],
  },
] satisfies RouteRecordRaw[]
